import store from '@/store'
export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "selection": true,
  "column": [
	  {
      "type": "input",
      "label": "唯一标识",
      "prop": "id",
      "hide": true,
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "input",
      "label": "线路编码",
      "prop": "lineCode",
      "hide": true,
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "input",
      "label": "车站编码",
      "prop": "stationCode",
      "hide": true,
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "input",
      "label": "报表名称",
      "prop": "reportName"
    },	  {
      "type": "input",
      "label": "差错类别",
      "prop": "errorClassification",
      "search": true,
    },	  {
      "type": "number",
      "label": "差错金额",
      "prop": "errorAmount",
      "search": true,
      "precision": 2,
    },	  {
      "type": "select",
      "label": "申请人",
      "prop": "applyPersonId",
      "hide": true,
      "dicUrl": "/admin/user/page",
      "props": {
        label: "nikename",
        value: "userId",
        res: "data.records"
      },
      "dicQuery": {
        size: -1,
        stationCode: store.getters.userInfo.stationCode
      }
    },	  {
      "type": "input",
      "label": "申请人",
      "prop": "applyPersonName",
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "textarea",
      "label": "申请原因",
      "prop": "applyReason"
    },	  {
      "type": "datetime",
      "label": "申请时间",
      "prop": "applyTime",
      "format": "yyyy-MM-dd HH:mm:ss",
      "valueFormat": "yyyy-MM-dd HH:mm:ss",
      "search": true,
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "select",
      "label": "审批状态",
      "prop": "checkStatus",
      "dicUrl": '/admin/dict/type/audit_status',
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "textarea",
      "label": "备注",
      "prop": "remark"
    },	  {
      "type": "input",
      "label": "部门ID",
      "prop": "deptId",
      "hide": true,
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "input",
      "label": "创建人ID",
      "prop": "creatorId",
      "hide": true,
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "input",
      "label": "创建人名称",
      "prop": "creatorName",
      "hide": true,
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "hide": true,
      "addDisplay": false,
      "editDisplay": false
    },	  {
      "type": "input",
      "label": "修改时间",
      "prop": "updateTime",
      "hide": true,
      "addDisplay": false,
      "editDisplay": false
    }  ]
}
